//当前的环境
const env = import.meta.env.MODE || "prod";

const EnvConfig = {
  development: {
    baseApi: "/api",
    mockApi:
      "https://www.fastmock.site/mock/2c249dd34134e43e48459a68172340d6/api", //fastMock线上mock
  },
  test: {
    baseApi: "/api",
    mockApi: "",
  },
  prod: {
    baseApi: "/api",
    mockApi: "",
  },
};

export default {
  env,
  mock: true,
  ...EnvConfig[env],
};
